class OpDayTimelineItem
{
    def boolean isDuration = false;
    def boolean isExact = false;

    def int     startDayOffset = 0;
    def int     startDayHour = 0;
    def int     startDayMins = 0;

    def int     endDayOffset = 0;
    def int     endDayHour = 0;
    def int     endDayMins = 0;

    def String toString()
    {
        return "OD "+ (startDayOffset > 0?"+":" ") + startDayOffset + " " + startDayHour + ":" + startDayMins + " to " + " OD "+ (startDayOffset>=0?"+":"-") + endDayOffset + " " + endDayHour + ":" + endDayMins //+ " isDuration:" + isDuration + " isExact:"+ isExact
    }
}
